package com.tianxiabuyi.model.task;

import java.util.LinkedList;
import java.util.List;

/**
 * 任务抽象类
 * Created by yanghaixiao on 2017/6/12.
 */
public  abstract class AbstractTask implements Runnable{

    List<Object> extraParams = new LinkedList<>();
    @Override
    public abstract void run() ;

    public AbstractTask(Object... parameters) {
        for (Object obj:parameters) {
            extraParams.add(obj);
        }
    }
}
